<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<PoserLoot.Web.Models.Category>>" %>
<div class="submenu">
    <h2>
        <%= Html.ActionLink("Category List", "Index", "Entry") %>
    </h2>
    <ul class="f12">
        <% foreach (var item in Model)
           { %>
        <li>
            <%= Html.ActionLink(item.Appellation, "Index", "Entry", new { id = item.CategoryId }, null)%>
        </li>
        <% } %>
        <li>
            <%= Html.ActionLink("[Create New]", "Create", "Category") %></li>
    </ul>
</div>
